package cn.edu.scau.cmi.zhaotingjie.chapter05;

public class Example5_4 {
	public static void main(String args[]) {
		Circle5_4 circle=new Circle5_4();
		double w = 121.709;
		circle.setRadius(w);
		System.out.println("圆的半径："+circle.getRadius());
		System.out.println("圆的面积："+circle.getArea());
		System.out.println("更改向方法参数r传递值的w的值为100");
		w=100;
		System.out.println("w="+w);
		System.out.println("圆的半径："+circle.getRadius());
	}
}
